import request from '@/utils/request'

// 用户登录
export function login (data) {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}
// 获取用户信息
export function getUserInfo (data) {
  return request({
    method: 'get',
    url: '/sys/profile',
    data
  })
}
